//
//  DBHeader.swift
//  QRCode
//
//  Created by zzk176 on 12/12/16.
//  Copyright © 2016 zzk176. All rights reserved.
//

import UIKit
//
//// 数据库、表名
//let DATABASE_NAME = "QRCodes"
//let TABLE_NAME = "QRCode"
//
//// 设置所含字段（ id 作为主键）
//let COLUMN = "(id integer primary key autoincrement, code text, time text, avatar text default 'avator', needExchange integer default 1)"
//
//// 单独把字段设成宏定义
//let ID = "id"
//let CODE = "code"
//let TIME = "time"
//let AVATAR =  "avatar"
//let NEEDEXCHANGE = "needExchange"
//// 主键
//let PRIMARY_KEY = "id"
//
//// 除主键外 所有的数据
//let ALL_DATA = ["code", "time", "avatar"]
//
//// 要查询的数据
//let FIND_DATA = ["code", "time", "avatar"]

